package com.ayf.payment.game.api.service;

import com.ayf.payment.game.api.dto.MerchantTradeAmountRandomRuleDTO;

import java.math.BigDecimal;
import java.util.List;

public interface MerchantTradeAmountRandomRuleService{


    List<MerchantTradeAmountRandomRuleDTO> getMerchantTradeAmountRandomRuleList(MerchantTradeAmountRandomRuleDTO merchantTradeAmountRandomRuleDTO);

    void saveAndUpMerchantTradeAmtRule(MerchantTradeAmountRandomRuleDTO merchantTradeAmountRandomRuleDTO);

    void deleteMerchantTradeAmtRuleById(Integer id);

    BigDecimal getMerchantTradeAmountRandomRule(Integer merchantId, BigDecimal checkAmt);

    boolean existMerchantTradeRule(Integer merchantId);
}
